namespace WeatherSDK;

/// <summary>
/// 统一天气接口
/// </summary>
public interface IWeatherApi
{
    /// <summary>
    /// 获取实时天气
    /// </summary>
    /// <param name="location">地点（adcode/行政区划代码或者cityname/城市名称）</param>
    /// <returns>实时天气数据</returns>
    Task<LiveWeatherDTO> GetLive(string location);
}